import request from "@/config/utils/request";

// 查询入库冲销单列表
export function listFinStoragePage(data) {
  return request({
    url: "/apis/smp/finwriteoff/listFinWriteoffPage",
    method: "POST",
    data
  });
}

// 主合同计量-撤回审批流程
export function revokeMeasureProcess(data) {
  return request({
    url: "/apis/gepma/mc/revokeMeasureProcess",
    method: "POST",
    data
  });
}

// 删除入库冲销单
export function removeContractChanges(data) {
  return request({
    url: "/apis/smp/finwriteoff/removeFinWriteoff",
    method: "POST",
    data
  });
}

// 主合同变更-撤回主合同变更
export function recallContractChanges(data) {
  return request({
    url: "/apis/gepma/mc/recallContractChanges",
    method: "POST",
    data
  });
}
